Skip to content

Conversation

@ellert
Copy link
Contributor

@ellert ellert commented Jan 9, 2026

This Pull request:

  87/1559 Test   #36: pyunittests-bindings-pyroot-pythonizations-pyroot-import-load-libs ............................***Failed    0.75 sec
test_import (import_load_libs.ImportLoadLibs.test_import)
Test libraries loaded after importing ROOT ... ERROR
======================================================================
ERROR: test_import (import_load_libs.ImportLoadLibs.test_import)
Test libraries loaded after importing ROOT
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/root-6.38.00-build/root-6.38.00/bindings/pyroot/pythonizations/test/import_load_libs.py", line 135, in test_import
    raise Exception(
    ...<4 lines>...
    )
Exception: Found not whitelisted libraries after importing ROOT:
 - libatomic
If the test fails with a library that is loaded on purpose, please add it to the whitelist.
----------------------------------------------------------------------
Ran 1 test in 0.654s
FAILED (errors=1)
CMake Error at /builddir/build/BUILD/root-6.38.00-build/root-6.38.00/cmake/modules/RootTestDriver.cmake:232 (message):
  error code: 1

Starting with gcc 16, libstdc++ links to libatomic.

$ ldd /lib64/libstdc++.so.6
	linux-vdso.so.1 (0x00007f3cb4c13000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f3cb4afc000)
	libatomic.so.1 => /lib64/libatomic.so.1 (0x00007f3cb4af1000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f3cb460d000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f3cb4ac5000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f3cb4c15000)

Changes or fixes:

Add to whitelist.

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

$ ldd /lib64/libstdc++.so.6
	linux-vdso.so.1 (0x00007f3cb4c13000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f3cb4afc000)
	libatomic.so.1 => /lib64/libatomic.so.1 (0x00007f3cb4af1000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f3cb460d000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f3cb4ac5000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f3cb4c15000)
@github-actions
Copy link

github-actions bot commented Jan 9, 2026

Test Results

    22 files      22 suites   3d 23h 49m 8s ⏱️
 3 792 tests  3 792 ✅ 0 💤 0 ❌
80 337 runs  80 337 ✅ 0 💤 0 ❌

Results for commit 7b1632f.

Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@guitargeek guitargeek merged commit 6ecf2d7 into root-project:master Jan 9, 2026
30 checks passed
@ellert ellert deleted the whitelist-atomic branch January 10, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants